<div id="all">
	<div id="left">
		<div class="container">
			<div class="container-title">Active Tournaments</div>
			<img src="img/tournaments-active.jpg" width="444" height="80" />			
		</div>
		<div class="container" style="border:0;">
			<?php mostrarTorneosActivos();?>
		</div>
		<div class="container">
			<div class="container-title">Finished Tournaments</div>
			<img src="img/tournaments-finished.jpg" width="444" height="80" />		
		</div>		
		<div class="container" style="border:0;">
			<?php mostrarTorneosTerminados();?>
		</div>
	</div>
	<div id="right">
		<div class="container">
			<div class="container-title">Open for Inscription</div>
			<img src="img/tournaments-inscription.jpg" width="444" height="80" />
		</div>
		<div class="container" style="border:0;">
			<?php mostrarTorneosInscripcion();?>
		</div>
		<div class="container">
			<div class="container-title">Rules &amp; Information</div>
			<img src="img/tournaments-rules.jpg" width="444" height="80" />		
		</div>
		<div class="container" style="border-bottom:0;">
			<div class="rules">
				<a class="rules-title" href="javascript:;" onclick="toggleRules('rules1');">Tournament Types</a>
				<div class="rules-text" id="rules1" style="display: none;">
					<div class="f">
						<table border="0" cellspacing="0" cellpadding="0" class="tableR">
							<tr>
								<td><img src="img/individual-fixed-icon.gif" width="55" height="13"/></td>
								<td><strong>Individual Tournament - Fixed Team</strong><br/>This is a 1vs1 tournament where player chooses the team to play with.</td>								
							</tr>
							<tr>
								<td><img src="img/individual-random-icon.gif" width="55" height="13"/></td>
								<td><strong>Individual Tournament - Random Team</strong><br/>This is a 1vs1 tournament where team is chosen randomly.</td>																
							</tr>
							<tr>
								<td><img src="img/group-fixed-icon.gif" width="55" height="13"/></td>
								<td><strong>Couples Tournament - Fixed Team</strong><br/>This is a 2vs2 tournament where players choose their couple and the team to play with.</td>								
							</tr>
							<tr>
								<td><img src="img/group-random-icon.gif" width="55" height="13"/></td>
								<td><strong>Couples Tournament - Random Team</strong><br/>This is a 2vs2 tournament where players choose their cople and team is chosen randomly .</td>								
							</tr>
							<tr>
								<td><img src="img/random-icon.gif" width="55" height="13"/></td>
								<td><strong>Couples Random</strong><br/>This is a 2vs2 tournament where the couples and teams are chosen randomly.</td>								
							</tr>
						</table>					
					</div>
				</div>
			</div>
			<div class="rules">
				<a class="rules-title" href="javascript:;" onclick="toggleRules('rules2');">Inscription Rules</a>
				<div class="rules-text" id="rules2" style="display: none;">
					<div class="f">
						<ul>
							<li>Each player can sign up for a tournament only once.</li>
							<li>Multiaccounts players might be punished.</li>
							<li>In 2vs2 Fixed Couple Tournaments, one of the players will sign up for the tournament with a chosen couple. 
									This user will receive in his/her mailbox a message to verify the group sign up. Until this process has not 
									been finished, the team will not be registered in the system.
							</li>
							<li>Inscription Process will be closed in the date fixed for the tournament.</li>
							<li>Tournaments are team limited.</li>
							<li>Inscriptions are registered in a queue where the players that sign up earlier has more chances to play.</li>						
						</ul>
					</div>
				</div>
			</div>
			<div class="rules">
				<a class="rules-title" href="javascript:;" onclick="toggleRules('rules3');">Tournament Rules</a>
				<div class="rules-text" id="rules3" style="display: none;">
					<div class="f">
						<ul>
							<li>Cheats are not allowed. Included DC-Cheat.</li>
							<li>Only the latest official patch of PES6J is allowed.</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="rules">
				<a class="rules-title" href="javascript:;" onclick="toggleRules('rules4');">Matches Rules</a>
				<div class="rules-text" id="rules4" style="display: none;">
					<div class="f">
						<ul>
							<li><strong>Match Configuration:</strong>	<br/>
							<strong>General:</strong> 15 minutes, Extra Time On, Penalties On.<br/>
							<strong>Players:</strong> Random Stats, Injures On, 3 Substitions.<br/>
							<strong>Pauses:</strong> Long Pause Time, 9 Pauses.</li>
							<li>No Cheats allowed.</li>
							<li>DC Cheat will directly disqualify the team.</li>
							<li>Fair Play. Time loss is not allowed.</li>
							<li>No Cutbacks. Cutback goals should be punished by an autogoal. Otherwise, disqualification can be applied to the team.</li>				
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>